package cn.source.scontent.domain;

import cn.source.school.domain.School;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.source.common.annotation.Excel;
import cn.source.common.core.domain.BaseEntity;

/**
 * scontent对象 s_content
 *
 * @author xuhao
 * @date 2023-12-19
 */
public class SContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学校介绍内容id */
    private Long iId;

    /** 学校编号 */
    @Excel(name = "学校编号")
    private String sCode;

    /** 内容类型 */
    @Excel(name = "内容类型")
    private String contentType;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    private School school;

    public School getSchool() {
        return school;
    }

    public void setSchool(School school) {
        this.school = school;
    }

    public void setiId(Long iId)
    {
        this.iId = iId;
    }

    public Long getiId()
    {
        return iId;
    }
    public void setsCode(String sCode)
    {
        this.sCode = sCode;
    }

    public String getsCode()
    {
        return sCode;
    }
    public void setContentType(String contentType)
    {
        this.contentType = contentType;
    }

    public String getContentType()
    {
        return contentType;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iId", getiId())
            .append("sCode", getsCode())
            .append("contentType", getContentType())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .append("school", getSchool())
            .toString();
    }
}
